#include "RollerJoy.h"
#include "../CommandBase.h"
#include "../Subsystems/roller.h"

RollerJoy::RollerJoy() 
{
	Requires(roller);
	SetTimeout(0.5);
	printf("dddd::RollerJoy\n");
}
void RollerJoy::Initialize()
{
	
}
void RollerJoy::Execute()
{
	roller->rollerJoystick(oi->getJoystick());
}
bool RollerJoy::IsFinished()
{
	return IsTimedOut();
}
void RollerJoy::End()
{
	
}
void RollerJoy::Interrupted()
{
	
}
